<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // let arr = [1, 0, 1, 0, 1, 0, 1, 0]
        // const arr2 = arr.map(v => {
        //     return v === 1 ? '男' : '女'
        // })
        // console.log(arr2);
        // function test(arr = '') {
        //     console.log(arr);
        // }
        // test()


        let obj = { name: '朱英豪', age: '20', like: '2222222', zzz: '99939', name2: '啊啊啊', name3: '哦哦哦' }
        for (k in obj) {
            /* 判断是不是数字,如果不是数组返回ture */
            if (isNaN(obj[k]) === true) {//不是ture就是数字,判断是不是不是数字,如果不是数字返回ture
                console.log(obj[k]);
            }
        }
    </script>
</body>

</html>